package com.zjsd.sqeybusiness.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.zjsd.sqeybusiness.mapper.PayorderinfoMapper;
import com.zjsd.sqeybusiness.domain.Payorderinfo;
import com.zjsd.sqeybusiness.service.IPayorderinfoService;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author Zheng
 * @date 2025-03-17
 */
@Service
public class PayorderinfoServiceImpl implements IPayorderinfoService 
{
    @Autowired
    private PayorderinfoMapper payorderinfoMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param payid 【请填写功能名称】ID
     * @return 【请填写功能名称】
     */
    @Override
    public Payorderinfo selectPayorderinfoById(Long payid)
    {
        return payorderinfoMapper.selectPayorderinfoById(payid);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param payorderinfo 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<Payorderinfo> selectPayorderinfoList(Payorderinfo payorderinfo)
    {
        return payorderinfoMapper.selectPayorderinfoList(payorderinfo);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param payorderinfo 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertPayorderinfo(Payorderinfo payorderinfo)
    {
        return payorderinfoMapper.insertPayorderinfo(payorderinfo);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param payorderinfo 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updatePayorderinfo(Payorderinfo payorderinfo)
    {
        return payorderinfoMapper.updatePayorderinfo(payorderinfo);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param payids 需要删除的【请填写功能名称】ID
     * @return 结果
     */
    @Override
    public int deletePayorderinfoByIds(Long[] payids)
    {
        return payorderinfoMapper.deletePayorderinfoByIds(payids);
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param payid 【请填写功能名称】ID
     * @return 结果
     */
    @Override
    public int deletePayorderinfoById(Long payid)
    {
        return payorderinfoMapper.deletePayorderinfoById(payid);
    }
}
